/**
 *
 */
package antsclub.common.util;

/**
 * @author Kyle Yuan
 *
 */
public class ConstUtil {

    //url
    public static final String URL_BASIC_PAGE = "/user/basic.jsp";
    public static final String URL_PASSWORD_PAGE = "/user/password.jsp";
    
    public static final String URL_GYM_LIST_PAGE = "/gym/gym_list.jsp";
    public static final String URL_GYM_ADD_PAGE = "/gym/gym_add.jsp";
    
    public static final String URL_GYM_TYPE_ADD_PAGE = "/gym/gymType_add.jsp";
    
    //message
    public static final String MESSAGE_SAVE_SUCCESS = "保存成功！";
    public static final String MESSAGE_SAVE_FAILD = "保存失败！";
    public static final String MESSAGE_UPDATE_SUCCESS = "修改成功！";
    public static final String MESSAGE_UPDATE_FAILD = "修改失败！";
    public static final String MESSAGE_UNAME_REQUIRED = "用户名不能为空！";
    public static final String MESSAGE_OLD_PASSWORD_REQUIRED = "旧密码不能为空！";
    public static final String MESSAGE_NEW_PASSWORD_REQUIRED = "新密码不能为空！";
    public static final String MESSAGE_NEW_PASSWORD_2_REQUIRED = "确认密码不能为空！";
    public static final String MESSAGE_PASSWORD_NOT_SAME = "两次密码不一致！";
    public static final String MESSAGE_UNAME_OR_PASSWORD_WRONG = "用户名或者密码错误！";
    
    
    //格式化时间
    public static final String YMD_DASH_WITH_FULL_TIME = "yyyy-MM-dd HH:mm:ss";
    public static final String YMD_DASH_WITH_TIME = "yyyy-MM-dd H:m";
    public static final String HM_COLON = "HH:mm";
    public static final String HM = "HHmm";
    public static final String YMD_SLASH = "yyyy/MM/dd";
    public static final String YDM_SLASH = "yyyy/dd/MM";
    public static final String YMD_DASH = "yyyy-MM-dd";
    public static final String YDM_DASH = "yyyy-dd-MM";
    public static final String YMD = "yyyyMMdd";
    public static final long DAY = 24 * 60 * 60 * 1000L;
}